package ua.shop;

import org.hibernate.annotations.Entity;
import org.hibernate.annotations.Table;

import java.io.Serializable;

/**
 * save data
 */
   @Entity
   @Table(appliesTo = "table")
public class BeanRia implements Serializable {

    private String Prize;
    private String Square;
    private String Reference;
    private String Rooms;
    private String Floor;
    private String Description;
    private String Datapost;
    private String Address;

    public BeanRia() {

    }

    public void setPrize(String prize) {
        Prize = prize;
    }

    public void setSquare(String square) {
        Square = square;
    }

    public void setReference(String reference) {
        Reference = reference;
    }

    public void setRooms(String rooms) {
        Rooms = rooms;
    }

    public void setFloor(String floor) {
        Floor = floor;
    }

    public void setDescription(String description) {
        Description = description;
    }

    public void setDatapost(String datapost) {
        Datapost = datapost;
    }

    public void setAddress(String address) {
        Address = address;
    }

    @Override
    public String toString() {
        return "BeanRia{" +
                "Prize='" + Prize + '\'' +
                ", Square='" + Square + '\'' +
                ", Reference='" + Reference + '\'' +
                ", Rooms='" + Rooms + '\'' +
                ", Floor='" + Floor + '\'' +
                ", Description='" + Description + '\'' +
                ", Datapost='" + Datapost + '\'' +
                ", Address='" + Address + '\'' +
                '}';
    }
}
